package com.maket.jbxx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 属性与分类对象 cp_attribute_type
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
public class CpAttributeType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性与分类id */
    private Long sId;

    /** 产品分类编码 */
    @Excel(name = "产品分类编码")
    private String productTypeCode;

    private String cpflCode;
    /** 属性编码 */
    @Excel(name = "属性编码")
    private String sxCode;

    private String type_sx_code;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setProductTypeCode(String productTypeCode) 
    {
        this.productTypeCode = productTypeCode;
    }

    public String getProductTypeCode() 
    {
        return productTypeCode;
    }
    public void setSxCode(String sxCode) 
    {
        this.sxCode = sxCode;
    }

    public String getSxCode() 
    {
        return sxCode;
    }

    public String getCpflCode() {
        return cpflCode;
    }

    public void setCpflCode(String cpflCode) {
        this.cpflCode = cpflCode;
    }

    public String getType_sx_code() {
        return type_sx_code;
    }

    public void setType_sx_code(String type_sx_code) {
        this.type_sx_code = type_sx_code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("productTypeCode", getProductTypeCode())
            .append("sxCode", getSxCode())
            .append("cpflCode", getCpflCode())
            .toString();
    }
}
